import { Navigator } from 'react-native';
import buildStyleInterpolator from 'buildStyleInterpolator';

const NoTransition = {
  opacity: {
    value: 1.0,
    type: 'constant',
  },
};

const NONE = ({ ...Navigator.SceneConfigs.FadeAndroid,
  ...{
    gestures: null,
    defaultTransitionVelocity: 1000,
    animationInterpolators: {
      into: buildStyleInterpolator(NoTransition),
      out: buildStyleInterpolator(NoTransition),
    },
  } });

const Transitions = {
  NONE,
};


export default Transitions;
